const ms = require('mongoose');
ms.connect('mongodb://127.0.0.1:27017/admin', { useNewUrlParser: true }, (err, result) => {
    if (err) {
        return console.log("链接失败:" + err);
    }
    console.log("链接db数据库成功");
});

module.exports = ms;